package com.nbst.model.mes;

import java.util.Date;

/**
 * 
 * @ClassName: Machine
 * @Description:机器设备管理
 * @author 李懿礼
 * @date 2018年10月22日
 *
 */
public class Machine {
	private String id;
	/**
	 * @Fields 设备名称
	 */
	private String fName;

	/**
	 * @Fields 设备编号
	 */
	private String fNumber;

	/**
	 * @Fields 设备规格型号
	 */

	private String fModel;

	/**
	 * @Fields 制单人
	 */
	private Integer fBiller;

	/**
	 * @Fields 设备组
	 */
	private Integer fGroupId;

	/**
	 * @Fields 修改时间
	 */
	private Date updateTime;

	/**
	 * @Fields 备注及参数
	 */
	private String fNote;

	/**
	 * @Fields 设备启用状态 0未启用 1启用
	 */
	private Integer fEnableStatus;

	/**
	 * @Fields 启用时间
	 */
	private Date fEnableDate;

	/**
	 * @Fields 设备运行状态 0未开工 1开工
	 */
	private Integer fRunStatus;

	/**
	 * @Fields 设备维修状态 0无状态 1已报修 2正在维修 3已维修完待确认
	 */
	private Integer fRepairStatus;

	/**
	 * @Fields 设备图片地址
	 */
	private String fUrl;

	/**
	 * @Fields 关闭标志 0关闭
	 */
	private Integer fClosed;

	/**
	 * @Fields 制单时间
	 */
	private Date fDate;
	
	/**设备产能*/
	private Double fCapacity;
	
	/**是否为自动线   1为自动线*/
	private Integer fSbState;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getfName() {
		return fName;
	}

	public void setfName(String fName) {
		this.fName = fName == null ? null : fName.trim();
	}

	public String getfNumber() {
		return fNumber;
	}

	public void setfNumber(String fNumber) {
		this.fNumber = fNumber == null ? null : fNumber.trim();
	}

	public String getfModel() {
		return fModel;
	}

	public void setfModel(String fModel) {
		this.fModel = fModel == null ? null : fModel.trim();
	}

	public Integer getfBiller() {
		return fBiller;
	}

	public void setfBiller(Integer fBiller) {
		this.fBiller = fBiller;
	}

	public Integer getfGroupId() {
		return fGroupId;
	}

	public void setfGroupId(Integer fGroupId) {
		this.fGroupId = fGroupId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getfNote() {
		return fNote;
	}

	public void setfNote(String fNote) {
		this.fNote = fNote == null ? null : fNote.trim();
	}

	public Integer getfEnableStatus() {
		return fEnableStatus;
	}

	public void setfEnableStatus(Integer fEnableStatus) {
		this.fEnableStatus = fEnableStatus;
	}

	public Date getfEnableDate() {
		return fEnableDate;
	}

	public void setfEnableDate(Date fEnableDate) {
		this.fEnableDate = fEnableDate;
	}

	public Integer getfRunStatus() {
		return fRunStatus;
	}

	public void setfRunStatus(Integer fRunStatus) {
		this.fRunStatus = fRunStatus;
	}

	public Integer getfRepairStatus() {
		return fRepairStatus;
	}

	public void setfRepairStatus(Integer fRepairStatus) {
		this.fRepairStatus = fRepairStatus;
	}

	public String getfUrl() {
		return fUrl;
	}

	public void setfUrl(String fUrl) {
		this.fUrl = fUrl == null ? null : fUrl.trim();
	}

	public Integer getfClosed() {
		return fClosed;
	}

	public void setfClosed(Integer fClosed) {
		this.fClosed = fClosed;
	}

	public Date getfDate() {
		return fDate;
	}

	public void setfDate(Date fDate) {
		this.fDate = fDate;
	}

	public Double getfCapacity() {
		return fCapacity;
	}

	public void setfCapacity(Double fCapacity) {
		this.fCapacity = fCapacity;
	}

	public Integer getfSbState() {
		return fSbState;
	}

	public void setfSbState(Integer fSbState) {
		this.fSbState = fSbState;
	}

	@Override
	public String toString() {
		return "Machine [id=" + id + ", fName=" + fName + ", fNumber=" + fNumber + ", fModel=" + fModel + ", fBiller="
				+ fBiller + ", fGroupId=" + fGroupId + ", updateTime=" + updateTime + ", fNote=" + fNote
				+ ", fEnableStatus=" + fEnableStatus + ", fEnableDate=" + fEnableDate + ", fRunStatus=" + fRunStatus
				+ ", fRepairStatus=" + fRepairStatus + ", fUrl=" + fUrl + ", fClosed=" + fClosed + ", fDate=" + fDate
				+ ", fCapacity=" + fCapacity + ", fSbState=" + fSbState + "]";
	}
}